<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<ui:decorate template="/templates/template.xhtml">
	<ui:define name="centro">
		<h:form id="cadastro">
			<p:messages id="messages" showDetail="true" autoUpdate="true"
				closable="true" />
			<p:panelGrid columns="2">
				<f:facet name="header">
					Cadastro Simples
				</f:facet>
				<h:outputLabel value="Primeiro Nome" />
				<h:inputText required="true"></h:inputText>
				<h:outputLabel value="Segundo nome" />
				<h:inputText required="true"></h:inputText>
				<h:outputLabel value="Email" />
				<h:inputText required="true"></h:inputText>
				<h:outputLabel value="Data Nascimento" />
				<p:calendar></p:calendar>
				<h:outputLabel value="Nome" />
				<h:inputText id="nome" required="true"></h:inputText>
			</p:panelGrid>
			<p:commandButton value="Enviár" action="#{teste.add}"></p:commandButton>
		</h:form>
	</ui:define>
</ui:decorate>
</html>
